package com.pcbly.web.bean.workflow;

import java.util.Date;

import java.util.Set;

import org.apache.commons.lang.builder.EqualsBuilder;

import org.apache.commons.lang.builder.HashCodeBuilder;

import org.apache.commons.lang.builder.ToStringBuilder;

import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

 
@SuppressWarnings("unchecked")
public class WorkflowActivityBean extends AbstractBaseBean {

    /**
	 * 
	 */
	private static final long serialVersionUID = -7323864282380482375L;
 

    
    private String userId;

    
    private String status;

    
    private String note;

    
    private Date receiveDate;

    
    private Date workDate; 

    
    private boolean recycled;

    
    private WorkflowApplicationItemBean workflowApplicationItem;

    
    
	private Set attachments; 

    /** default constructor */
    public WorkflowActivityBean() {
    }  

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNote() {
        return this.note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getReceiveDate() {
        return this.receiveDate;
    }

    public void setReceiveDate(Date receiveDate) {
        this.receiveDate = receiveDate;
    }

    public Date getWorkDate() {
        return this.workDate;
    }

    public void setWorkDate(Date workDate) {
        this.workDate = workDate;
    } 

    public boolean isRecycled() {
        return this.recycled;
    }

    public void setRecycled(boolean recycled) {
        this.recycled = recycled;
    }

    public WorkflowApplicationItemBean getWorkflowApplicationItem() {
        return this.workflowApplicationItem;
    }

    public void setWorkflowApplicationItem(WorkflowApplicationItemBean workflowApplicationItem) {
        this.workflowApplicationItem = workflowApplicationItem;
    }

    public Set getAttachments() {
        return this.attachments;
    }

    public void setAttachments(Set attachments) {
        this.attachments = attachments;
    }

    /**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
